package cn.yunbamboos.mybatis.conditions;

import java.util.HashMap;

public class Conditions extends HashMap<String, Object> {

    public static Conditions create(String key, Object value) {
        Conditions where = new Conditions();
        where.add(key, value);
        return where;
    }

    public Conditions add(String key, Object value){
        this.put(key, value);
        return this;
    }

}
